<style>
    .ngdialog.ngdialog-theme-default .ngdialog-content{
        width:60%!important;
        padding:0 0 0 1em;
    }
</style>

<div id="selectFilter" class="ngdialog ngdialog-theme-default ng-scope" role="alertdialog">
    <div class="ngdialog-overlay">
        <>
    </div>
    <div class="ngdialog-content" role="document" style="padding:0 0 0 0">
        <div class="box border primary">
            <div class="box-title" style="text-align: center">
                <h4>筛选：{{filterName}}</h4>
                <div class="pull-right">
                    <button ng-click="closeDialog()" class="btn btn-info" style="line-height:1">确定</button>
                </div>
            </div>


            <div class="box-body clearfix">

                <!--地域-->
                <div ng-show="type==1"  style="height: inherit">
                    <div class="col-md-12" style="height: inherit">
                        <div class="col-md-4" ng-repeat="item in areaList">
                            <button class="{{item.select?'btn btn-info':'btn btn-default'}}" style="line-height: 1;width: 100%" ng-click="chooseArea(item)">{{item.name}}</button>
                            <div class="col-md-12" style="height: 30px"></div>
                        </div>
                    </div>
                </div>
                <!--地点-->
                <div ng-show="type==2">
                    <div class="col-md-12">
                        <city-four-select province="choseAddress.province" city="choseAddress.city" district="choseAddress.district" street="choseAddress.street"></city-four-select>
                    </div>
                </div>

                <!--产品-->
                <div ng-show="type==3">
                    <input class="form-control" ng-model="searchProductName" placeholder="搜索"/>
                    <table class="datatable table table-hover dataTable">
                        <tbody>
                        <tr ng-repeat="item in productList|filter:searchProductName" ng-click="chooseProduct(item)">
                            <td style="width:100%;background-color: {{item.select?'LightSkyBlue':''}}">{{item.name}}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>
                <!--标签-->
                <div ng-show="type==4">
                    <div class="col-md-12">
                        <div ng-repeat="item in allTagSet">
                            <div class="tag-title" style="text-align:center">{{item.name}}</div>
                            <div class="row select-list">
                                <button class="{{x.select?'btn btn-info':'btn btn-default'}}" ng-click="chooseTag(x)" ng-repeat="x in  item.tagList" style="line-height:1;margin:4px 5px">
                                    {{x.name}}
                                </button>
                            </div>
                        </div>
                    </div>
                </div>
                <!--合作伙伴-->
                <div ng-show="type==5">
                    <input class="form-control" ng-model="searchPartnerName" placeholder="搜索"/>
                    <table class="datatable table table-hover dataTable">
                        <tbody>
                        <tr ng-repeat="item in partnerList|filter:searchPartnerName" ng-click="choosePartner(item)">
                            <td style="width:100%;background-color: {{item.select?'LightSkyBlue':''}}">{{item.name}}</td>
                        </tr>
                        </tbody>
                    </table>
                </div>

            </div>
        </div>
    </div>
</div>